package com.young.ums.model;

import com.young.common.core.excel.ExcelColumn;
import java.util.Date;
/**
* 导航资源实体类
* Created by imrookie on 2018-10-8.
*/
public class Navigate{

    @ExcelColumn(value = "编号", order = 1)
    private String id;//编号
    @ExcelColumn(value = "资源名称", order = 2)
    private String name;//资源名称
    @ExcelColumn(value = "链接", order = 3)
    private String href;//链接
    @ExcelColumn(value = "父节点id", order = 4)
    private String parentId;//父节点id
    @ExcelColumn(value = "图标", order = 5)
    private String icon;//图标
    @ExcelColumn(value = "类型", order = 6)
    private String type;//类型
    @ExcelColumn(value = "层级", order = 7)
    private Integer navLevel;//层级
    @ExcelColumn(value = "显示顺序", order = 8)
    private Integer num;//显示顺序
    @ExcelColumn(value = "说明", order = 9)
    private String remark;//说明
    @ExcelColumn(value = "归属项目", order = 10)
    private String app;//归属项目
    @ExcelColumn(value = "创建单位", order = 11)
    private String companyId;//创建单位
    @ExcelColumn(value = "创建时间", order = 12)
    private Date createTime;//创建时间
    @ExcelColumn(value = "更新时间", order = 13)
    private Date updateTime;//更新时间
    @ExcelColumn(value = "创建人", order = 14)
    private String createUserId;//创建人
    @ExcelColumn(value = "更新人", order = 15)
    private String updateUserId;//更新人
    @ExcelColumn(value = "删除标识", order = 16)
    private Integer trashFlag;//删除标识

    private String orderBy;//排序字段
    private String orderType;//排序类型,升序asc/降序desc

    private String nodeType = "NAVIGATE";//节点类型,供前端树插件使用
    private boolean checked;//选中状态,供前端树插件使用

    public Navigate(){
        super();
    }

    public String getId() {
    return id;
    }
    public void setId(String id) {
    this.id = id;
    }
    public String getName() {
    return name;
    }
    public void setName(String name) {
    this.name = name;
    }
    public String getHref() {
    return href;
    }
    public void setHref(String href) {
    this.href = href;
    }
    public String getParentId() {
    return parentId;
    }
    public void setParentId(String parentId) {
    this.parentId = parentId;
    }
    public String getIcon() {
    return icon;
    }
    public void setIcon(String icon) {
    this.icon = icon;
    }
    public String getType() {
    return type;
    }
    public void setType(String type) {
    this.type = type;
    }
    public Integer getNavLevel() {
    return navLevel;
    }
    public void setNavLevel(Integer navLevel) {
    this.navLevel = navLevel;
    }
    public Integer getNum() {
    return num;
    }
    public void setNum(Integer num) {
    this.num = num;
    }
    public String getRemark() {
    return remark;
    }
    public void setRemark(String remark) {
    this.remark = remark;
    }
    public String getApp() {
    return app;
    }
    public void setApp(String app) {
    this.app = app;
    }
    public String getCompanyId() {
    return companyId;
    }
    public void setCompanyId(String companyId) {
    this.companyId = companyId;
    }
    public Date getCreateTime() {
    return createTime;
    }
    public void setCreateTime(Date createTime) {
    this.createTime = createTime;
    }
    public Date getUpdateTime() {
    return updateTime;
    }
    public void setUpdateTime(Date updateTime) {
    this.updateTime = updateTime;
    }
    public String getCreateUserId() {
    return createUserId;
    }
    public void setCreateUserId(String createUserId) {
    this.createUserId = createUserId;
    }
    public String getUpdateUserId() {
    return updateUserId;
    }
    public void setUpdateUserId(String updateUserId) {
    this.updateUserId = updateUserId;
    }
    public Integer getTrashFlag() {
    return trashFlag;
    }
    public void setTrashFlag(Integer trashFlag) {
    this.trashFlag = trashFlag;
    }

    public String getOrderBy() {
        return orderBy;
    }

    public void setOrderBy(String orderBy) {
        this.orderBy = orderBy;
    }

    public String getOrderType() {
        return orderType;
    }

    public void setOrderType(String orderType) {
        this.orderType = orderType;
    }

    public String getNodeType() {
        return nodeType;
    }

    public void setNodeType(String nodeType) {
        this.nodeType = nodeType;
    }

    public boolean isChecked() {
        return checked;
    }

    public void setChecked(boolean checked) {
        this.checked = checked;
    }
}